package com.liujun.spring4.demo.annotation.aspect.targerclasspointcut.withinannotation;

import org.aspectj.lang.annotation.Aspect;
import org.aspectj.lang.annotation.Before;

/**
 * 当前为aspectj的注解处理类
 *
 * @author liujun
 * @version 0.0.1
 * @date 2018/10/01
 */
@Aspect
public class WithinAnnotationAspect {

  @Before(
      "@within(com.liujun.spring4.demo.annotation.aspect.targerclasspointcut.withinannotation.RunWithIn)")
  public void withinAnnotationExec() {
    System.out.println("WithinAnnotationAspect before start .....");
    System.out.println("WithinAnnotationAspect withinAnnotationExec() execution");
  }
}
